﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" CodeBehind="MutuallyExclusiveCheckBox.aspx.cs" Inherits="Samples.Views.Samples.MutuallyExclusiveCheckBox" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div class="demoarea">
        <div class="demoheading">MutuallyExclusive CheckBox</div>
        
        <strong>Option1:</strong>&nbsp;&nbsp;
        <%= Html.CheckBox("Option1-Y", "Yes") %>
        <%= Html.CheckBox("Option1-N", "No") %>
        <br /><br />
        
        <strong>Option2:</strong>&nbsp;&nbsp;
        <%= Html.CheckBox("Option2-Y", "Yes") %>
        <%= Html.CheckBox("Option2-N", "No") %>
        <br /><br />
    </div>
    
    <%= Ajax.MutuallyExclusiveCheckBox("Option1-Y", "Option1") %>
    <%= Ajax.MutuallyExclusiveCheckBox("Option1-N", "Option1") %>    
    <%= Ajax.MutuallyExclusiveCheckBox("Option2-Y", "Option2") %>
    <%= Ajax.MutuallyExclusiveCheckBox("Option2-N", "Option2") %>
</asp:Content>
